[ext js] Renderer for ColumnTree?

Posted by Chris Cowdery-Corvan on Stack Overflow See other posts from Stack Overflow or by Chris Cowdery-Corvan
Published on 2009-07-22T14:26:21Z Indexed on 2010/05/23 16:10 UTC
Read the original article Hit count: 573

Filed under:
|

Hello!

I'm trying to add a custom renderer to a ColumnTree in Ext JS. Since it appears(?) that this isn't supported, does anyone know of any workaround to use a renderer? Here's a snippet of code - let's just say (hypothetically) that I have a renderer I'd like to use for the documentsVersion tab below - does anyone have any ideas?

return new Ext.tree.ColumnTree({
    autoHeight: false,
    rootVisible: showRoot,
    autoScroll: false,
    id: (!treeId)? window.mainTreeId: treeId,
    loader: (!loader)?window.docTreeLoader:loader,
    columns: [{
         header:"${documentsTitle}",
         width: windowWidth * 0.40
     },
     {
         header:"${documentsVersion}",
         width: windowWidth * 0.10,
         dataIndex:'version'
     },

Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about extjs